package cn.zhoutao.basic.base.query;

import lombok.Data;

@Data
public class BaseQuery {
    //页数
    private Integer pageSize = 1;
    //每页展示条数
    private Integer currentPage = 5;
    //查询关键字
    private String keyword;

    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;
    }
}
